A=[6 7 11 2;
    4 5 9 8;
    3 1 10 4;
    5 9 8 2];
B=Hungary(A);
[~,b]=linear_assignment(A,B);
